package com.threefivework.mymall.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * descripiton:
 *
 * @author: kinson(2219945910@qq.com)
 * @date: 2018/6/26
 * @time: 23:03
 * @modifier:
 * @since:
 */
@Configuration
@ConfigurationProperties(prefix = "rest")
@PropertySource("classpath:/config/rest_config.properties")
@Data
public class RestConfig extends BaseConfig {

    private Integer readTimeout;

    private Integer connectTimeout;

    private Integer socketTimeout;

}
